import request from "@/utils/request.js";

// 获取首页仪表盘数据
export function getDashboardData() {
  return request.get("/dashboard");
}

/**
 * 获取图表统计数据
 * @returns {Promise<DashBoardChartVO>} 返回数据统计数据
 */
export function getDashBoardChart() {
  return request.get("/dashboard/chart");
}
